<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
		
		
		<script type="text/javascript">
			var obj={};
			obj.name="张三";
			obj.sex="男";
			//为对象新增属性，通过.语法的形式即可实现
			console.log("name=="+obj.name,",sex=="+obj.sex);
			
		</script>
	</body>
</html>
